import { defineStore } from "pinia";
import { reactive, ref } from "vue";
const useVideoStore = defineStore("video", () => {
    const nowVideoId = ref(null) // 当前播放的视频id

    // 当前播放的视频信息
    const nowVideoInfo = ref(null);

    return { nowVideoId,nowVideoInfo }
}, {
    //开启用户信息持久化
    persist: true
})

export default useVideoStore;   